home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 52
/
Aminet 52 (2002)(GTI - Schatztruhe)[!][Dec 2002].iso
/
Aminet
/
util
/
moni
/
Scout-src.lha
/
netinclude
/
grp.h
< prev
next >
Wrap
C/C++ Source or Header
|
2002-09-16
|
793b
|
32 lines
#ifndef GRP_H
#define GRP_H \
"$Id: grp.h,v 1.1.1.1 2001/11/26 22:21:13 tboeckel Exp $"
/*
* Definitions of gid_t and group structure for 32 bit C compilers
*
* Copyright © 1994 AmiTCP/IP Group,
* Network Solutions Development, Inc.
* All rights reserved.
*/
#ifndef SYS_TYPES_H
#include <sys/types.h>
#endif
/* The group structure */
struct group {
char *gr_name; /* Group name. */
char *gr_passwd; /* Password. */
gid_t gr_gid; /* Group ID. */
char **gr_mem; /* Member list. */
};
struct group *getgrgid(gid_t gid);
struct group *getgrnam(const char * name);
void setgrent(void);
struct group *getgrent(void);
void endgrent(void);
#endif /* GRP_H */